package Homework.Top04;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Scanner;

public class Top03 {
    public static void main(String[] args) {
        FileInputStream fin=null;
        Scanner input=new Scanner(System.in);
        String  path=input.next();
        System.out.println("请输入文件");
        try {
            fin=new FileInputStream(path);
            try {
                fin.skip(10);
                byte []a=new byte[fin.available()];
                int lang=0;
               lang= fin.read(a);
                System.out.println(new String(a,0,lang));
            } catch (IOException e) {
                e.printStackTrace();
            }
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }finally {
            try {
                fin.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
}
